package com.xuerhua.yxt.service;

import java.util.List;

import com.xuerhua.yxt.model.StudentLeave;
import com.xuerhua.yxt.page.Page;
import com.xuerhua.yxt.reqVo.StudentLeaveReqVO;
import com.xuerhua.yxt.view.StudentLeaveView;

public interface IStudentLeaveService {
	
	int insert(StudentLeaveReqVO reqVO);

    StudentLeave selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(StudentLeave record);
    
    int updateAudit(StudentLeave record);

    List<StudentLeaveView> selectPendingList(Page<StudentLeaveView> page);
    
    List<StudentLeaveView> selectAuditedListByPage(Page<StudentLeaveView> page);
}
